using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;

namespace Admin.NET.Application.Service;

/// <summary>
/// 导入房间数据Dto
/// IsLabelingError：是否标注数据错误
/// </summary>
[ExcelImporter(IsLabelingError = true)]
public class ImportRoomDto
{
	/// <summary>
	/// 一级区域
	/// </summary>
	[ImporterHeader(Name = "一级区域")]
	public string Region1 { get; set; }

	/// <summary>
	/// 二级区域
	/// </summary>
	[ImporterHeader(Name = "二级区域")]
	public string Region2 { get; set; }

	/// <summary>
	/// 三级区域
	/// </summary>
	[ImporterHeader(Name = "三级区域")]
	public string Region3 { get; set; }

	/// <summary>
	/// 四级区域
	/// </summary>
	[ImporterHeader(Name = "四级区域")]
	public string Region4 { get; set; }

	/// <summary>
	/// 五级区域
	/// </summary>
	[ImporterHeader(Name = "五级区域")]
	public string Region5 { get; set; }

	/// <summary>
	/// 房间号
	/// </summary>
	[ImporterHeader(Name = "房间编号")]
	public string Name { get; set; }

	/// <summary>
	/// 房间面积
	/// </summary>
	[ImporterHeader(Name = "房间面积")]
	public double? Area { get; set; }

	/// <summary>
	/// 预警规则
	/// </summary>
	[ImporterHeader(Name = "预警规则")]
	public string? WarningRule { get; set; }
}
